---
title: Bookmarks
header: Features
layout: ../../../layouts/MainLayout.astro
---

# Bookmarks

Whenever you have some text selection, you have 3 methods to bookmark queries. Using the command palette, from bookmarks sidebar and within the context menu.
You can also assing a keybind to this action. The default combination is `ctrl+e ctrl+q` on Linux/Windows and `Cmd+e q` on MacOSX.

## Using the command palette

1. With an open file, select the queries you want to bookmark.
2. Press `CtrlOrCmd+shift+p` or `F1`, search by `SQLTools Bookmarks: Bookmark Selected Query`.
3. Hit `Enter`.

## Bookmarks explorer

Just hit the `+` button!

![Bookmarks sidebar](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/docs/assets/bookmarks.sidebar.png)
